home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / callback.001 / callback~ / callback / examples / dialin.setup < prev    next >
Text File  |  1996-08-02  |  4KB  |  120 lines

  1. ############################################################################
  2. #   This file is part of the ICCE callback and dial-in monitoring system
  3. #   Copyright (c) 1994--1996, ICCE, State University of Groningen.
  4. #
  5. #   This file demonstrates the setup for the dial-in mode of cb.
  6. #
  7. #   Using the dial-in mode, the cb program is used to monitor access
  8. #   to your modem.
  9. #
  10. #   ------------------->>>  CAUTION  <<<---------------------------------
  11. #
  12. #   In order to use cb to monitor your dial-in facilities, the login
  13. #   program in the enable.ttyS? file(s) must be set to /bin/login.
  14. #   This is most easily realized by NOT using 
  15. #       /usr/local/etc/mgetty+sendfax/login.config
  16.  
  17.  
  18. ###########################################################################
  19. #
  20. #   copy this file to
  21. #    /etc/callback.setup,
  22. #    /usr/etc/callback.setup
  23. #   or
  24. #    /usr/local/etc/callback.setup
  25. #   and edit the copied file.
  26. #   
  27. #   The callback programs look for this file in the following order:
  28. #    1. /etc/callback.setup
  29. #    2. /usr/etc/callback.setup
  30. #    3. /usr/local/etc/callback.setup
  31. #   As soon as one of these files is found, further searching stops.
  32. #
  33. #
  34.  
  35.  
  36. #   This file contains only one section, in which general parameters
  37. #   can be set. All parameters that can be set, are described here.
  38. #   Default values are mentioned explicitly. You can either do without them
  39. #   or keep them. In both cases you'll get the default.
  40.  
  41.  
  42. #   First of all, determine the mode you want to use. In this file it's
  43. #   the dial-in mode. 
  44. #   A mode MUST be specified:
  45.  
  46. mode:    dial-in
  47.  
  48.  
  49. #   Next, specify the default modemline and possible other modem lines to use.
  50. #   If you have a single modem, set the default to this line.
  51. #   Otherwise select a particular modemline for your default, and name the 
  52. #   other lines next.
  53. #   Whenever cb is called without a speficied line the default is used.
  54. #   At least a default line MUST be specified
  55.  
  56. line: ttyS2 ttyS1
  57.  
  58.  
  59.  
  60. #   The default path where callback will find its mgetty-configuration molds.
  61. #   The default is BASE_PATH from the file configure.h
  62.  
  63. path: /conf/callback
  64.  
  65.  
  66.  
  67. #   The log-file, on which messages from cb and cblogin are written.
  68. #   By default:
  69.  
  70. logfile: /var/adm/callback.log
  71.  
  72.  
  73.  
  74. #   The panic logfile, used if the logfile somehow can't be opened. 
  75. #   By default:
  76.  
  77. paniclog:  /dev/console
  78.  
  79.  
  80.  
  81. #   The verbosity of the logging: select between on, off, or default.
  82. #    off:        only logging of grammatical errors in the setup-file,
  83. #    default:    errors and warnings are logged
  84. #    on:        errors, warnings and some process-monitoring is logged
  85. #    max:        errors, warnings and extensive process-monitoring is logged
  86. #   By default:
  87.  
  88. log:    default
  89.  
  90.  
  91.  
  92. #   mgetty itself expects its files in a certain directory.
  93. #   By default (as used by the mgetty+sendfax software):
  94.  
  95. mgettyconfig: /usr/local/etc/mgetty+sendfax/mgetty.config
  96.  
  97.  
  98. #   The mgetty-process listening to a particular modem-line will be reached
  99. #   via a symbolic link. E.g., modem.ttyS1.
  100. #   The part WITHOUT the line-extension may be specified here. The callback
  101. #   software will add the '.<line>' suffix, coming up with something like
  102. #   /sbin/modem.ttyS2
  103. #   By default:
  104.  
  105. modemgetty: /sbin/modem
  106.  
  107.  
  108.  
  109. #   The email-address is used in cblogin messages if set.
  110. #   By default: "root"
  111. #   A commented-out example:
  112.  
  113. #email:    you@your.computer
  114.  
  115.  
  116.  
  117. #   This ends the dial-in configuration file. If you make this file the active
  118. #   callback.setup file, cb's usage information will tell you it is operatin
  119. #   in the dial-in mode.
  120.